home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_2
/
rumor13.zip
/
RUMOR.DOC
< prev
next >
Wrap
Text File
|
1992-05-14
|
6KB
|
119 lines
─────────────────────────────────────────────────────────────────────────
[ Rumor/Quote File Creator v1.3 for T.A.G. v2.6 and above ]
(C)May 1992 - Written by Paul Deeds - All Rights Reserved
─────────────────────────────────────────────────────────────────────────────
Purpose: Converts T.A.G. v2.6 questionarre answer files with one line per
user name to T.A.G. v2.6 format quotation file. This allows users
to quickly add to your rumor or quote file using built in T.A.G.
system commands.
Usage: RUMOR <configuration file name>
With the release of version 2.6 of T.A.G. a versitile and powerful feature
has been added. Few people understand the capabilities of this addition,
thus it is little used. This program will help you take advantage of
T.A.G.'s ability to display a random text strings, as chosen from a file.
First, to save you time, I will quote the pertinent information from the
T.A.G. v2.6 update documentaion:
Bottom of page 27:
*** A file called TAGQUOTE.* may now be created to produce an "Your
quote for the day is:" during the logon process just before the
bulletin section appears (if active).
Bottom of page 34:
Function : Generate random message
PKey : "8"
PData : <Filename>
<Filename> MS-DOS filename of the message file
This command chooses a random message from the specified file and
displays it to the user. The file is in standard ASCII format with
one blank line separating each message. If the first line of the file
begins with "~" it is used as the header instead of the standard quote
of the day header. Due to the algorithm used, longer quotes have a
better chance of being chosen than shorter ones.
Amazing what you can learn from reading the documentation. Ok, so now you
want to know how to use this program to take advantage of the new feature.
I will go step by step through a simple set up, then briefly describe some
other possibilities.
1. Copy the RUMOR.CFG and RUMOR.EXE file into your main BBS directory.
2. Edit the RUMOR.CFG file, the explantion of each of the three lines
is contained at length in the configuration file.
3. Add four commands to a menu (main for me) as follows:
A) Pkey: "?" This command will be called by the user
PData: @RUMORQ.MSG when they want to add a rumor/quote to
your file. Set the security information
This command needs as you see fit. You will need to copy
to be linked to the RUMORQ.MSG file included in this
the next command. archive to your alternate data files
directory.
B) Pkey: ":" This command should be linked from
Pdata: RUMOR RUMOR.CFG command (A), it shells to DOS and
processes the rumor file.
This command needs
to hidden.
C) Pkey: "8" This command, when executed will
Pdata: RUMOR.TXT display a random quote from the
RUMOR.TXT file located in the main data
files directory.
D) Pkey: "!" Set this command so that it is only
Pdata: RUMORA.TXT available to Co-Sysops or very trusted
users. It displays the entire raw
questionarre file and will show the
user name/time date of each quote/rumor
that was added.
4. Test everything out, if it didn't work you did something wrong, go
back to step #1 and check your work.
5. After you have added answered the questionnare once use a text editor
and add a line to the top of your RUMORA.TXT file so that it looks
like this:
----------------------------< top of file >-------------------------------
~
Dirty #1 11:41 am Sun Mar 08, 1992
This is a rumor.
Tom Smith #28 12:36 pm Sun Mar 08, 1992
This is another.
The "~" charcater replaces the standard "Your quote for the day is:"
line with a blank line, or whatever you type after the "~" character.
6. Their are obviously many ways that you could expand on the simple set
up above. I have my system set up so that each time a user changes
menus it displays a quote/rumor. This can be done very easily through
linked commands. I also setup a command off the main menu that
allows users to view the entire processed quote file. I will leave
the rest of the possibilities to you.
I tried to make this documentation as complete as possible. Hopefully
even the most novice sysop could get through them. You veterans may
have been insulted by the detail I went into for this relatively simple
program, but I aimed at the lowest common denominator.
This program is released as free ware, please distribute it with all
the files that are included in this archive. If you find this program
useful please drop me some netmail and let me know that you are using
it. I am always open to suggestions and can be contacted through the
T.A.G. echos or on my board:
Dirty Deeds - 313/646-3776 - 1:120/267@fidonet